package com.tcd.pojo.Client;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RecognizeeInfo {

    private int recognizeeId;//被保人编号
    private int policyholdersId;//投保人编号
    private String recognizeeName;//被保人姓名
    private String sex;//性别
    private int credentialsType;//证件类型
    private String credentialsId;//证件号码
    private String telephone;//联系电话
    private String address;//联系地址
    private String bank;//银行名称
    private String bankAccount;//银行账户

    public RecognizeeInfo(int recognizeeId, int policyholdersId, String recognizeeName, String sex, int credentialsType, String credentialsId, String telephone, String address, String bank, String bankAccount, String driverId, String createTime, String updateTime, int insuranceStatus) {
        this.recognizeeId = recognizeeId;
        this.policyholdersId = policyholdersId;
        this.recognizeeName = recognizeeName;
        this.sex = sex;
        this.credentialsType = credentialsType;
        this.credentialsId = credentialsId;
        this.telephone = telephone;
        this.address = address;
        this.bank = bank;
        this.bankAccount = bankAccount;
        this.driverId = driverId;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.insuranceStatus = insuranceStatus;
    }

    private String driverId;//驾驶证号码
    private String createTime;//创建时间
    private String updateTime;//修改时间
    private int insuranceStatus;//0：未投保 1：已投保
    private PolicyholdersInfo poliy;//投保人实体
}
